<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>行内式</title>
</head>
<body>

    <button onmouseover="alert('第一次写行内式')" >
        alert点我
    </button>

    <a  onclick="print('第一次写行内式')">
        print点我
    </a>
    
</body>
</html>